package com.notary.mapper;

import com.notary.entity.Notary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.notary.entity.po.NotaryDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 公证员基本信息 Mapper 接口
 * </p>
 *
 * @author xujun
 * @since 2020-07-28
 */
@Repository
public interface NotaryMapper extends BaseMapper<Notary> {
    int dayCount(NotaryDTO dto);

    int weekCount(NotaryDTO dto);

    int monthCount(NotaryDTO dto);

    Integer getIssuingCount(NotaryDTO dto);

    // List<Map<String, Object>> getMaps(@Param("officeId") String officeId);

    List<Map<String, Object>> getMaps();
}
